package com.tscnd.core.dao.resource; 

import java.util.List;

import org.springframework.stereotype.Repository;

import com.tscnd.core.dao.BaseDao;
import com.tscnd.core.entity.resource.Resource;
@Repository("resourceDao")
public interface IResourceDao extends BaseDao<Resource, String> {

	/**
	 * 根据角色Id查询对应的资源地址
	 * 
	 * @param roleId
	 * @return
	 * @throws Exception
	 * @see [类、类#方法、类#成员]
	 */
	public List<Resource> findRoleByResource(String roleId) throws Exception;

}
